$OpenBSD: patch-includes_h,v 1.4 2013/12/06 11:54:48 jca Exp $
--- includes.h.orig	Tue Apr 11 05:21:13 2000
+++ includes.h	Fri Dec  6 12:53:55 2013
@@ -30,7 +30,8 @@
 #include <errno.h>
 #include <string.h>
 #include <stdlib.h>
-
+#include <net/if.h>
+#include <net/if_var.h>
 #include <netinet/if_ether.h>
 #ifdef _linux_
 #include "linux_flood_net.h"
@@ -45,7 +46,6 @@
 #include <sys/sockio.h>
 #endif
 #include <sys/ioctl.h>
-#include <net/if.h>
 #ifdef SOLARIS
 #include <net/if_arp.h>
 #include <sys/stropts.h>
@@ -57,7 +57,6 @@
 
 #ifdef _OpenBSD_
 #include <sys/mbuf.h>
-#include <sys/timeb.h>
 #if BSD < 199103
 #include <sys/fcntlcom.h>
 #endif
@@ -67,11 +66,14 @@
 #include <sys/dirent.h>
 #include <net/bpf.h>
 #include <kvm.h>
+#define _KERNEL
 #include <netinet/in_var.h>
+#undef _KERNEL
 #include <net/if_dl.h>
 #endif
 
 #include <arpa/nameser.h>
+#include <pcap.h>
 
 #include "ip_icmp.h"
 
